#ifndef LASERSTEPCALCULATOR_H
#define LASERSTEPCALCULATOR_H

#include "StepCalculator.h"
#include "Direction.h"
#include "Turnable.h"
#include "TurnStep.h"
#include "Activatable.h"

class LaserStepCalculator: public StepCalculator
{
public:
	LaserStepCalculator();
	virtual ~LaserStepCalculator();

	void SetActivator(GameObject* spinner);
	void SetShootDirection(const Direction& direction);

	virtual void GenerateSteps(Board& board);
	virtual void Execute();

protected:

private:
	void Clear();

	GameObject* activatableObject;
	Activatable* activatableInterface;
	std::list<Step*> steps;
	Direction shootDirection;
};

#endif //LASERSTEPCALCULATOR_H
